Skip to content

Ace 1568 Proxy support changes #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Nov 11, 2020
Merged

Conversation

harshitvasu
Copy link
Contributor

@harshitvasu harshitvasu commented Nov 6, 2020

RELATED PR
https://github.com/jenkinsci/browserstack-integration-plugin/pull/28/files
Jenkins plugin support for proxy (Browserstack plugin changes)

Copy link
Contributor

@rchougule rchougule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.DS_Store file is committed...

Copy link
Contributor

@rchougule rchougule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump the version of automate-client-java to 0.6 in pom.xml...

this.authentication = new BasicAuthentication(this.username, this.accessKey);
}

public void setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so will this method be called by the client using this package? as in... in jenkins plugin..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add javadoc comment for this function since it plays an important role of setting the proxy.
Something like: https://github.com/browserstack/automate-client-java/blob/master/src/main/java/com/browserstack/automate/AutomateClient.java#L41-L46

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public void setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword) {
public void setProxy(final String proxyHost, final int proxyPort, final String proxyUsername, final String proxyPassword) {

Copy link
Contributor

@rchougule rchougule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link the Jenkins Plugin PR as well so that it's easier to review in one go...

Harshit Vasu and others added 2 commits November 6, 2020 17:44
Making variables final

Co-authored-by: Archish Thakkar <[email protected]>
Copy link
Contributor

@rchougule rchougule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@francisf francisf merged commit 246760c into master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants